package com.ruoyi.voucher.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @BelongsProject: RuoYi-Cloud-master
 * @BelongsPackage: com.ruoyi.voucher.vo
 * @Author: songYuHang
 * @CreateTime: 2025-02-28  20:59
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class VoucherExcelVO {

    @ExcelProperty(value = "ID")
    private Long voucherId;

    @ExcelProperty(value = "凭证明细ID")
    private Long detailId;

    @ExcelProperty(value = "凭证日期")
    @DateTimeFormat(value = "yyyy-MM-dd")
    private Date voucherDate;

    @ExcelProperty(value = "凭证字")
    private String wordName;

    @ExcelProperty(value = "凭证号")
    private String voucherNo;

    @ExcelProperty(value = "摘要")
    private String summaryContent;

    @ExcelProperty(value = "科目编码")
    private String subjectCode;

    @ExcelProperty(value = "科目名称")
    private String subjectName;

    @ExcelProperty(value = "借方金额")
    private BigDecimal debitAmount;

    @ExcelProperty(value = "贷方金额")
    private BigDecimal creditAmount;

    @ExcelProperty(value = "附件数量")
    private Long attachmentCount;

    @ExcelProperty(value = "创建人")
    private String createBy;

    @ExcelProperty(value = "审核人")
    private Long auditorId;

}
